package com.fourth.feign;

import com.ljx.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Mr.ma
 * @since 2023/3/3 16:53
 **/
@FeignClient("cai-commodity")
public interface CommodityFeign {
    /**
     * 根据id查询商户信息
     * @param id
     * @return
     */
    @GetMapping("/commodity/UB/goods/selectB")
    Result selectb(@RequestParam("id") String id);
}
